(someone's) days are numbered

Translations
ses jours sont comptés
Definitions
This phrase means that someone does not have much time left in a particular situation, position, or even in life. It is often used to suggest that a person's time before something ends (such as a job, a period of good fortune, or even their life) is limited and will soon be over.